package org.jeecg.modules.system.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecg.common.system.base.entity.BaseEntity;
import org.jeecgframework.poi.excel.annotation.Excel;

import java.io.Serializable;

/**
 * @Description: 系统配置信息
 * @Author: jeecg-boot
 * @Date:   2020-11-27
 * @Version: V1.0
 */
@Data
@TableName("sys_config")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="sys_config对象", description="系统配置信息")
public class SysConfig extends BaseEntity implements Serializable {
    private static final long serialVersionUID = 1L;

	/**显示名称*/
	@Excel(name = "显示名称", width = 15)
    @ApiModelProperty(value = "显示名称")
    private String displayName;
	/**配置键*/
	@Excel(name = "配置键", width = 15)
    @ApiModelProperty(value = "配置键")
    private String configKey;
	/**配置值*/
	@Excel(name = "配置值", width = 15)
    @ApiModelProperty(value = "配置值")
    private String configValue;
	/**是否只读：0否，1是*/
	@Excel(name = "是否只读：0否，1是", width = 15, dicCode = "yn")
    @Dict(dicCode = "yn")
    @ApiModelProperty(value = "是否只读")
    private Integer readOnly;
}
